//
//  ColorContant.swift
//  Exchange
//
//  Created by 孟祥群 on 2018/4/18.
//  Copyright © 2018年 common. All rights reserved.
//

import UIKit
let KTableLineColor = kRGBColorFromHex(rgbValue: 0xeeeeee)

let KCommonTextColor = kRGBColorFromHex(rgbValue: 0x666666)

let KCommonColor = kRGBColorFromHex(rgbValue: 0x2eae83)

let KLineColor = UIColor(hexStr: "#eeeeee")

func kRGBColorFromHex(rgbValue: Int) -> (UIColor) {
    
    return UIColor(red: ((CGFloat)((rgbValue & 0xFF0000) >> 16)) / 255.0,
                   green: ((CGFloat)((rgbValue & 0xFF00) >> 8)) / 255.0,
                   blue: ((CGFloat)(rgbValue & 0xFF)) / 255.0,
                   alpha: 1.0)
}


